<ion-view view-title="所有会员" id="reset-overdraft" hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">重置信用额度</h1>
  </ion-header-bar>
  <ion-content>
    <div class="text1">
      <div class="left-div">
        <span class="up-span">会员名</span>
        <span class="down-span">:</span>
      </div>
      <div class="right-div">
        <span class="vip-name">{{vipItem.username}}</span>
      </div>
    </div>
    <div class="text2">
      <div class="left-div">
        <span class="up-span">信用额度</span>
        <span class="down-span">:</span>
      </div>
      <div class="right-div">
        <span class="out-span">{{vipItem.overdraft}}</span>
      </div>
      <span class="in-span">元</span>
    </div>
    <div class="text3">
      <div class="left-div">
        <span class="up-span">重置额度</span>
        <span class="down-span">:</span>
      </div>
      <div class="right-div">
        <input class="in-input" type="text" ng-model="confirmInfo.inputNumber" />
      </div>
      <span class="out-span">元</span>
    </div>
    <div class="text4" ng-if="countDown == 0">
      <div class="left-div">
        <span class="in-span">验证码</span>
        <span class="down-span">:</span>
        <input class="in-input" type="text" placeholder="请输入验证码" ng-model="confirmInfo.confirmWord"/>
      </div>
      <button  class="button-clear in-btn" ng-click="getConfirm()">发送验证码</button>
    </div>
    <div class="text4" ng-if="countDown != 0">
      <div class="left-div">
        <span class="in-span">验证码</span>
        <span class="down-span">:</span>
        <input class="in-input" type="text" placeholder="请输入验证码" ng-model="confirmInfo.confirmWord"/>
      </div>
      <button  class="button-clear count-btn" ng-disabled="true">{{countDown}}秒</button>
    </div>

    <div>
      <button class="button-clear confirm" ng-click="confirmReset()">确定</button>
    </div>
    <div class="bottom-blank"></div>

  </ion-content>
</ion-view>
